Tree.this

Create a shallow copy of the syntax tree. This is very fast.

You need to copy a syntax tree in order to use it on more than one thread at a time, as syntax trees are not thread safe.

  1. this(TSTree* tstree)
  2. this(Tree otherTree)
  3. this(Tree otherTree)
    struct Tree
    @nogc nothrow inout
    this
    (
    ref return scope inout Tree otherTree
    )

Meta